import javax.swing.JFrame;
import javax.swing.JTable;
import javax.swing.JButton;
import javax.swing.table.DefaultTableModel;
import javax.swing.border.CompoundBorder;
import javax.swing.border.LineBorder;
import java.awt.Color;
import javax.swing.SwingConstants;


public class ex1 extends JFrame{
	private JTable infoTable;
	public ex1() {
		getContentPane().setLayout(null);
		
		infoTable = new JTable();
		infoTable.setBorder(new LineBorder(new Color(0, 0, 0)));
		infoTable.setModel(new DefaultTableModel(
			new Object[][] {
				{null, null},
				{null, null},
				{null, null},
				{null, null},
				{null, null},
				{null, null},
				{null, null},
				{null, null},
			},
			new String[] {
				"\u9662\u7CFB", "\u5E74\u7EA7"
			}
		));
		infoTable.setBounds(30, 30, 380, 128);
		getContentPane().add(infoTable);
		
		JButton btnNewButton = new JButton("New button");
		btnNewButton.setBounds(92, 214, 93, 23);
		getContentPane().add(btnNewButton);
		
		JButton btnNewButton_1 = new JButton("New button");
		btnNewButton_1.setBounds(267, 214, 93, 23);
		getContentPane().add(btnNewButton_1);
		
		setVisible(true);
	}

	/**
	 * @param args
	 */
	public static void main(String[] args) {
		// TODO Auto-generated method stub
		new ex1();
	}
}
